<!DOCTYPE html>
<html lang="en" xmlns:v-bind="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div id="app">
<!--    实现数据的双向绑定-->
 <input v-model="username">
    {{username}}
  <hr>
  <input name="username" v-model="username">
    {{username}}

</div>
<script src="js/vue.js"></script>
<script>
    new Vue({
        el:"#app",
        data(){
            return {
                username:"",
                url:"https://www.baidu.com",
            }
        }
    });
</script>
</body>
</html>